<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1px">
        <tr>
            <td>学生id</td>
            <td>学生姓名</td>
            <td>学生年龄</td>
            <td>学生性别</td>
        </tr>
        <tr th:each="student,item:${listStudents}">
            <td th:text="${item.count}"></td>
            <td th:text="${student.stuName}"></td>
            <td th:text="${student.age}"></td>
            <td th:text="${student.sex}"></td>
            <td>
                <input type="radio" th:checked="${student.sex eq '男'}">男
                <input type="radio" th:checked="${student.sex eq '女'}">女

            </td>
        </tr>

    </table>


</body>
</html>